package com.cangmaomao.lib.utils;

import android.text.TextUtils;

/**
 * Author:帅气的potato
 */

public class TypeUtils {


    public static int paseInt(String result){
        if (!TextUtils.isEmpty(result)){
            return Integer.parseInt(result);
        }
        return 0;
    }

    public static String toHex(int result){
        return Integer.toHexString(result);
    }
}
